package com.hxh.component.business.utils;


/**
 * Created by hxh on 2017/5/4.
 */
public class Constant {
    public static final String LOGINSCOPE_END_USER = "global_access:end_user";
//    public static final String LOGINSCOPE_END_USER = "global_access:tenant_admin";
    //--用于测试固定机构
    public static final String DEBUF_TENANT_ID = "122371433052508160";
    //--用于金阊正式机构
    public static final String TENANT_ID = "328983045359017984";

    public static final String APPUPDATEFILENAME = "update.apk";
    public static final String APPUPDATESTATE_FORCE = "force";
    public static final String APPUPDATESTATE_NOFORCE = "noforce";

    public static final String SP_USERINFO_TAG = "userinfo";
    public static final String LOGTAG = "xiaoaikeji";


    public static final String CITY_JSON = "city_json";
    public static final String CITY_NO_FOREIGN_JSON = "city_no_foreign_json";


    public static final String RouterPath_DefalutLoginView = "/user/main/login1";

    public static class OSSId {
        //示例
        public static final String OSS_URL = "oss_url";// ossurl
        public static final String OSS_CONTRACT = "contract";// 合同管理
        public static final String OSS_USER_IMAGE = "user_image";// 录入候选人
        public static final String OSS_SOCIALWORK = "socialwork";// 上传凭证
        public static final String OSS_RECRUIT = "recruit";// 招聘管理
        public static final String OSS_TENANT_LOGO = "tenant_logo";// 企业logo
        public static final String OSS_hoss_old_idcard_image = "hold_idcard_image";//员工持身份证拍摄
    }

    //服务器地址统一在此注册
    public static class APIServicesTag {
        public static final String API_WORK = "working";
        public static final String API_APISERVICES = "apiservices";
        public static final String API_SMS = "sms";

    }

    //Router 相关Tag值再此注册
    public static class RouterTag {
        public static final String SHOWTAG = "skiptag";

        //login
        public static final String LOGIN_SHOWTYPE_LOGIN = "pwdlogin";
        public static final String LOGIN_SHOWTYPE_SMSLOGIN = "veritylogin";
        public static final String LOGIN_SHOWTYPE_SETPWD = "setpwd";
        //三步验证主页
        public static final String VERIFY_STEP_HOME = "verify_step_home";
        //身份证识别
        public static final String ADD_CANDIDATE_MAIN = "add_candidate_main";
        //录制视频
        public static final String VIDEO_HOME = "video_home";
        //录制视频
        public static final String PERSONAL_INFORMATION_STEP = "personal_information_step";
        //创客编号
        public static final String SPACE_NUMBER = "space_number";

        //consult
        public static final String CONSULT_DETAIL = "consultdetail";

        //首页主页
        public static final String HOME_MAIN = "home_main";

        public static final String HOME_TASK_DETAIL = "home_task_detail";
        public static final String HOME_INCOME_TOTAL = "home_income_total";
        public static final String HOME_BANK_CARD = "home_bank_card";
        //平台协议列表
        public static final String HOME_PLATFORM_AGREEMENT_LIST = "home_platform_agreement_list";
        //平台协议详情页
        public static final String HOME_PLATFORM_AGREEMENT_DETAIL = "home_platform_agreement_detail";
        //未签署电子合同列表
        public static final String HOME_CONTRACT_LIST = "home_contract_list";
        //未签署电子合同详情页
        public static final String HOME_CONTRACT_DETAIL = "home_contract_detail";
        //实名认证--绑定身份证
        public static final String HOME_BIND_IDCARD = "home_bind_idcard";
        //实名认证-- 人脸识别
        public static final String HOME_BIND_FACE = "home_bind_face";

        //上传任务凭证
        public static final String UPDATA_TASK_PROOF = "updata_task_proof";


        //我的
        public static final String MINE_PERSONAL_INFORMATION = "mine_personal_information";
        public static final String MINE_SHOW_IDCARD = "mine_show_idcard";
        public static final String MINE_BUSINESS_LICENSE = "mine_business_license";

        //endregion


        //mine
        public static final String MINE_MAIN = "mine_main";

        public static final String MINE_SETTING = "mine_setting";

        public static final String MINE_MSG = "mine_msg";

        public static final String MINE_SET_PWD = "mine_set_pwd";

        public static final String MINE_CHOOSE_COMPANY = "mine_choose_company";
        //平台协议是否阅读过
        public static final String MINE_IS_READ_AGREEMENT = "mine_is_read_agreement";
        //判断个人信息是否可编辑
        public static final String MINE_CAN_EDIT_PRESONAL_INFO = "mine_can_edit_presonal_info";


    }

    public static class SpTag {
        public static final String IS_FIRST_START = "is_first_start";
        //合同签署相关
        public static final String IMG_HEIGHT = "img_height";
        public static final String USER_IDCARD ="user_idcard";

        //创客空间编号
        public static final String  NOW_OPENPROGRESS = "now_openprogress";
        //创客空间编号
        public static final String  SPACE_NUMBER_ID = "space_number_id";
        //身份证上姓名
        public static final String  IDENTITY_CARD_NAME = "identity_card_name";
        //身份证号
        public static final String  IDENTITY_CARD_ID = "identity_card_id";
        //身份证上性别
        public static final String  IDENTITY_CARD_GENDER = "identity_card_gender";
        //身份证上年龄
        public static final String  IDENTITY_CARD_AGE = "identity_card_age";
        //身份证上地址
        public static final String  IDENTITY_CARD_ADDRESS = "identity_card_address";

        public static final String COMPANY_ID = "company_id";
        public static final String COMPANY_NAME = "company_name";
        public static final String COMPANY_BEAN = "company_bean";

        public static final String IS_REFRESH_DATA_BOARD = "refresh_data_board";
        //是否显示零工模块
        public static final String MODULE_SHOW_SOCIALWORK  = "module_show_socialwork";
        //营业执照注销中
        public static final String LICENCE_WAIT_CANCLE  = "licence_wait_cancle";
    }

    public static class ResultCode {
        //公司机构
        public static final int RESULT_CODE_COMPANHY = 10001;
        //数据看板
        public static final int RESULT_CODE_DATAOVERVIEW = 10002;
        //消息列表
        public static final int RESULT_CODE_MSG = 10003;
        //人才库筛选条件
        public static final int RESULT_CODE_TALENTS_CONDITION = 10004;
        //简历编辑
        public static final int RESULT_CODE_RESUME_EDIT = 10005;
    }

    /**
     * 开业步骤
     */
    public static class OpenSteps{
        //创客编号申请
        public static final int Step_01 = 0;
        //开户申请
        public static final int Step_02_01 = 1;
        //开户审核中
        public static final int Step_02_02 = 2;
        //开户失败重新申请
        public static final int Step_02_03 = 3;
        //文书签署申请
        public static final int Step_03_01 = 4;
        //文书签署审核中
        public static final int Step_03_02 = 5;
        //文书签署失败重新申请
        public static final int Step_03_03 = 6;
        //查看税务登记
        public static final int Step_04_01 = 7;
        //账户已注销
        public static final int Step_05_01 = 8;
        //账户注销审核中
        public static final int Step_05_02 = 9;
        //账户注销去签署文书
        public static final int Step_05_03 = 10;
        //账户注销签署文书待审核
        public static final int Step_05_04 = 11;
        //账户注销重新签署文书
        public static final int Step_05_05 = 12;
        //正常注册步骤走完进入主页
        public static final int Step_06_01 = 13;
    }

    /**
     * face++ 相关常量，身份证质量检测，活体识别
     */
    public static class FaceId {
        /**
         * 身份证正面
         */
        public static final int ID_CARD_FRONT_SIDE = 0;
        /**
         * 身份证反面
         */
        public static final int ID_CARD_BACK_SIDE = 1;
    }

    /**
     * 1970年1月1日初始时间戳
     */
    public static long BEGIN_UNIX_TIMESTAMP = -28800 ;

    /**
     * 单选条目内容
     */
    public static class SingleSelect{
        //政治面貌
        public static String[] politics_status_arr = {"群众", "中国共产主义青年团团员", "中国共产党预备党员","中国共产党党员","中国国民党革命委员会会员",
                "中国民主同盟盟员","中国民主建国会会员","中国民主促进会会员","中国农工民主党党员","中国致公党党员","九三学社社员","台湾民主自治同盟盟员","无党派民主人士"};

        //文化程度
        public static String[] education_arr = {"其它", "小学", "初中","高中","中专", "大专","本科","硕士","博士"};

        //从业人员职业状态
        public static String[] job_status_arr = {"下岗失业人员", "高校毕业生", "残疾人","退役士兵","农民", "高校科技人员","科研院所科技人员","国有事业单位科技人员"
                ,"国有企业单位科技人员","全日制高校学生","其他"};
        //性别
        public static String[] gender_arr = {"男", "女"};
    }
}
